package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.SysFavoriteProxy;

/**
 * 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "SysFavorite", description = "$table.comment")
@Table(value = "SYS_FAVORITE")
@EntityFileProxy
public class SysFavorite implements ProxyEntityAvailable<SysFavorite, SysFavoriteProxy> {

    @Column(value = "USER_ID")
    private String userId;

    @Column(value = "FAV_ID", primaryKey = true)
    private String favId;

    @Column(value = "FAV_NAME")
    private String favName;

    /**
     * 0是目录, 1是模块收藏, 2是网页收藏, 3是大屏收藏
     */
    @Schema(description = "0是目录, 1是模块收藏, 2是网页收藏, 3是大屏收藏")
    @Column(value = "FAV_TYPE")
    private String favType;

    @Column(value = "PARENT_FAV_ID")
    private String parentFavId;

    @Column(value = "MODULE_ID")
    private String moduleId;

    @Column(value = "BS_URL")
    private String bsUrl;

    @Column(value = "PARM_INFO")
    private String parmInfo;

    /**
     * 0为IE内核;1为谷歌内核
     */
    @Schema(description = "0为IE内核;1为谷歌内核")
    @Column(value = "BS_KERNEL")
    private String bsKernel;

    @Column(value = "MODULE_SCREEN")
    private String moduleScreen;

    @Column(value = "FAV_SEQ")
    private Short favSeq;

    /**
     * 0是普通收藏, 1是大屏收藏
     */
    @Schema(description = "0是普通收藏, 1是大屏收藏")
    @Column(value = "FAV_CATEGORY")
    private String favCategory;

    /**
     * 投屏ID
     */
    @Schema(description = "投屏ID")
    @Column(value = "SP_ID")
    private String spId;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @Column(value = "REMARKS")
    private String remarks;
}
